package cn.highedu.coolsharkhub.entity;

/**
 * 商品类别实体类
 * 对应数据中category表
 */
public class Category {
    private Integer id; // id
    private String name; // 类别名
    private Boolean display; // 是否显示

    public Category() {
    }

    public Category(Integer id, String name, Boolean display) {
        this.id = id;
        this.name = name;
        this.display = display;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getDisplay() {
        return display;
    }

    public void setDisplay(Boolean display) {
        this.display = display;
    }

    @Override
    public String toString() {
        return "Category{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", display=" + display +
                '}';
    }
}
